import request from '@/utils/request'

export function list(query) {
    return request({
      url: '/app/appSysInterface/list',
      method: 'get',
      params: query
    })
  }

  export function save(data,method) {
    return request({
      url: '/app/appSysInterface',
      method,
      data: data
    })
  }

  export function getOrDelete(data,method) {
    return request({
      url: `/app/appSysInterface/${data}`,
      method,
    })
  }
  